Link to this headingFortify

set SCA_VM_OPTS=-Xmx40G

Link to this headingUpdate Rules

PS C:\Program Files\Fortify\Fortify_SCA_and_Apps_19.1.0\bin> fortifyupdate -url https://update.fortify.com -proxyhost <if needed> -proxyport <if proxy needed> -proxyusername <if needed> -proxypassword <if needed>

Link to this headingImport Rules from Other Computer

Zip from C:\Program Files\Fortify\Fortify_SCA_and_Apps_19.1.0\Core\config\rules\*.*

PS C:\Program Files\Fortify\Fortify_SCA_and_Apps_19.1.0\bin> .\fortifyupdate.cmd -import 'C:\Users\user\Downloads\fortify_rules.zip' Importing Security Content C:\Users\user\Downloads\fortify_rules.zip Security Content Imported Successfully.

Link to this headingScan JAR and Class Files

sourceanalyzer -b equipapi -source "1.8" -cp "scanning/**/*.jar" -scan -f MyProject.fpr -Dcom.fortify.sca.fileextensions.class=BYTECODE -Dcom.fortify.sca.DefaultFileTypes=class "scanning/**/*.class"

Link to this headingScanning COBOL

'C:\Program Files\Fortify\Fortify_SCA_and_Apps_20.1.0\bin\sourceanalyzer.exe' -scan -f results2.fpr -verbose "-Dcom.fortify.sca.fileextensions.txt=COBOL" "P:\Code\FOLDER1\FOLDER2\COBOLCODE\*.txt"